<!DOCTYPE html>
<html lang="en">
	<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Mr.reboot - Home</title>
	<meta name="description" content="">
	<meta name="author" content="templatemo">
	<link href="__ADMIN__/css/font-awesome.min.css" rel="stylesheet">
	<link href="__ADMIN__/css/bootstrap.min.css" rel="stylesheet">
	<link href="__ADMIN__/css/templatemo-style.css" rel="stylesheet">
	<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
		<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<![endif]-->
	<script type="text/javascript" src="__ADMIN__/js/jquery-1.11.2.min.js"></script>
	<script src="__ADMIN__/js/jquery-migrate-1.2.1.min.js"></script>
	<script type="text/javascript" src="__ADMIN__/js/bootstrap-filestyle.min.js"></script>  <!-- http://markusslima.github.io/bootstrap-filestyle/ -->
	<script type="text/javascript" src="__ADMIN__/js/templatemo-script.js"></script>
	</head>
	<body>
	<!-- Left column -->
	<div class="templatemo-flex-row">
		<div class="templatemo-sidebar">
			<header class="templatemo-site-header">
				<div class="square"></div>
				<h1>Mr.reboot</h1>
			</header>
			<div class="profile-photo-container">
				<img src="__ADMIN__/images/profile-photo.jpg" alt="Profile Photo" class="img-responsive">
				<div class="profile-photo-overlay"></div>
			</div>
			<!-- Search box -->
			<form class="templatemo-search-form" role="search">
				<div class="input-group">
					<button type="submit" class="fa fa-search"></button>
					<input type="text" class="form-control" placeholder="Search" name="srch-term" id="srch-term">
				</div>
			</form>
			<div class="mobile-menu-icon">
				<i class="fa fa-bars"></i>
			</div>
			<nav id="leftMenu" class="templatemo-left-nav">
				<ul>
				<li><a href="__ROOT__/admin.html" class="active"><i class="fa fa-home fa-fw"></i>首页</a></li>
				<li><a href="__ROOT__/article/articleManage.html"><i class="fa fa-database fa-fw"></i>文章管理</a></li>
				<li><a href="__ROOT__/cate/cateManage.html"><i class="fa fa-sliders fa-fw"></i>分类管理</a></li>
				<li><a href="__ROOT__/user/userManage.html"><i class="fa fa-users fa-fw"></i>用户管理</a></li>
				<li><a href="__ROOT__/comment/listComment.html"><i class="fa fa-edit fa-fw"></i>评论管理</a></li>
				<li><a href="__ROOT__/msg/listMsg.html"><i class="fa fa-envelope-open-o fa-fw"></i>留言管理</a></li>
				</ul>
			</nav>
		</div>
		<!-- Main content -->
		<div class="templatemo-content col-1 light-gray-bg">
			<div class="templatemo-top-nav-container">
				<div class="row">
					<nav id="topMenu" class="templatemo-top-nav col-lg-12 col-md-12">
						<ul class="text-uppercase">
							<li><a>{$admininfo.username}</a></li>
							<li><a><?php echo date('Y年m月d日', time());?></a></li>
							<li><a href="javascript:void(0)" onclick="leaveMsg()">留言反馈</a></li>
							<li><a href="__ROOT__/admin/logout">退出</a></li>
						</ul>
					</nav>
				</div>
			</div>
			<div class="templatemo-content-container">
				{__CONTENT__}
			</div>
		</div>
	</div>
	<footer class="text-center">
		<p>Copyright &copy; 2084 Company Name | Designed by <a href="hackdream.iok.la">Mr.Reboot</a></p>
	</footer>
	<div id="leaveMsg" style="display: none;">
		<div style="margin: 100px auto; width: 600px; height: 500px;background-color:#FFF;border: 2px solid #000;"  class="templatemo-content-widget white-bg col-1 templatemo-position-relative">
			<a href="javascript:void(0)" id="leavehide"><i class="fa fa-times"></i></a>
			<h2 class="text-uppercase blue-text margin-bottom-5"></h2>
			<form action="__ROOT__/msg/addmsg" method="post">
				<h3 class="text-uppercase blue-text margin-bottom-5">名字</h3>
				<input type="text" name="name">
				<hr>
				<h3 class="text-uppercase blue-text margin-bottom-5">邮箱</h3>
				<input type="email" name="email">
				<hr>
				<h3 class="text-uppercase blue-text margin-bottom-5">CONTENT:</h3>
				<textarea cols="60" rows="6" name="comment"></textarea>
				<hr>
				<button id="btn" class="templatemo-blue-button">留言反馈</button>
			</form>
		</div>
	</div>
	<script type="text/javascript">
		function leaveMsg() {
			document.getElementById('leaveMsg').style.cssText='position: fixed; z-index:101; top:0px; left:0px; width: 100%; height: 100%; display: block; background-color: rgba(255,255,255,0.5);';
			$('#leavehide').show();
		}
		$('#leavehide').click(function () {
			$('#leaveMsg').hide();
		})
	</script>
	</body>
</html>